package com.itheima.service.cms;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.core.PageInfo;
import com.itheima.pojo.cms.CmsSubject;

import java.util.List;

public interface CmsSubjecService extends IService<CmsSubject> {
    /*获取全部商品专题*/
    List<CmsSubject> listAll();
    /*根据专题名称分页获取商品专题*/
    PageInfo pageinfo(String keyword,Integer pageNum,Integer pageSize);
}
